<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <title>layuiAdmin 内容系统 - 文章列表</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport"
        content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <link rel="stylesheet" href="../../../static/layui/dist/layuiadmin/layui/css/layui.css" media="all">

<body>
    <div style="margin: 30px ;">
        <table class="layui-hide" id="LAY_table_user" lay-filter="useruv"></table>
    </div>
    <script src="../../../static/layui/dist/layuiadmin/layui/layui.js"></script>
    <script>
        layui.use('table', function () {
            var table = layui.table;

            //方法级渲染
            table.render({
                elem: '#LAY_table_user'
                , url: 'get_detail'
                , cols: [[
                    { field: 'id', title: 'ID', width: 80, sort: true, fixed: true }
                    , { field: 'user_name', title: '用户名', width: 160, sort: true }
                    , { field: 'nickname', title: '姓名', width: 160, sort: true, edit: true }
                    , { field: 'telephone', title: '电话', width: 160, sort: true, edit: true }
                    , { field: 'role', title: '角色', width: 160, sort: true, edit: true }
                    , { field: 'sex', title: '性别', sort: true, edit: true }
                ]]
                , id: 'testReload'
                , page: true
                , height: 600
                , size: "lg"
            });
        });
    </script>
</body>

</html>